//
//  MineHomeTableViewCell.h
//  B2C
//
//  Created by 李小龙 on 2017/7/26.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RedPointView.h"

typedef void(^AllOrderAction)(void);
typedef void(^RedPointBlock)(NSInteger tag);

@interface MineHomeTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIButton *allOrderButton;          // 全部订单
@property (weak, nonatomic) IBOutlet RedPointView *redPointObligation;  // 待付款
@property (weak, nonatomic) IBOutlet RedPointView *redPointReceived;    // 待收货
@property (weak, nonatomic) IBOutlet RedPointView *redPointEvaluation;  // 待评价
@property (weak, nonatomic) IBOutlet RedPointView *redPointRefunded;    // 退款订单

@property (weak, nonatomic) IBOutlet UIImageView *secondImageView;
@property (weak, nonatomic) IBOutlet UILabel *secondTitleLabel;

@property (nonatomic, copy) AllOrderAction block;
@property (nonatomic, copy) RedPointBlock redBlock;

+ (instancetype)mineHomeCellWithTableView:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;

@end
